import { Content } from 'layout/';

import { Main } from 'views/';

export default {
  path: 'chapter',
  name: '章节管理',
  icon: 'inbox',
  component: Content,
  redirect: '/chapter/list',
  children: [{
    path: 'list',
    name: '章节列表',
    icon: 'bar-chart',
    component: Main.Chapter.List
  }, {
    path: 'create',
    hidden: true,
    name: '新增章节',
    icon: 'bar-chart',
    component: Main.Chapter.Edit
  }, {
    path: 'edit',
    hidden: true,
    name: '编辑章节',
    icon: 'bar-chart',
    component: Main.Chapter.Edit
  }]
};